﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using evt;

namespace evt{

public class ServerEvent {
	
	/// <summary>
	/// 牌九项目使用
	/// </summary>
	public static string OPEN_RECHARGE_VIEW = "OPEN_RECHARGE_VIEW";
	public static string OPEN_SETUP_VIEW = "OPEN_SETUP_VIEW";
	public static string SHOW_TOP_NOTICE = "SHOW_TOP_NOTICE";
	public static string SHOW_DOWN_NOTICE = "SHOW_DOWN_NOTICE";
	public static string SHOW_CREATEROOM_VIEW = "SHOW_CREATEROOM_VIEW";
	public static string SHOW_JOINROOM_VIEW = "SHOW_JOINROOM_VIEW";
	public static string SHOW_METHOD_VIEW = "SHOW_METHOD_VIEW";
	public static string ZJH_GAME_SERVER = "ZJH_GAME_SERVER";
	public static string LOGIN_RESULT = "LOGIN_RESULT";
	public static string CREATE_ROOM_RESULT = "CREATE_ROOM_RESULT";
	public static string OTHER_JOIN_ROOM = "OTHER_JOIN_ROOM";
	public static string CHANGE_ZJH_PLAYER_STATE = "CHANGE_ZJH_PLAYER_STATE";
	public static string CHANGE_ZJH_DEALER = "CHANGE_ZJH_DEALER";
	public static string NEXT_ZJH_DEAL = "NEXT_ZJH_DEAL";
	public static string SEE_ZJH_CARD = "SEE_ZJH_CARD";
	public static string RENOUNCE_ZJH_CARD = "RENOUNCE_ZJH_CARD";
	public static string COMPARE_ZJH_CARD = "COMPARE_ZJH_CARD";
	public static string SAW_ZJH_CARD = "SAW_ZJH_CARD";
	public static string ROUNDOVER_ZJH_CARD = "ROUNDOVER_ZJH_CARD";
	public static string RESET_ZJH_CARD = "RESET_ZJH_CARD";
	public static string CLOSEROOM_ZJH_ALERT = "CLOSEROOM_ZJH_ALERT";
	public static string CLOSEROOM_ZJH_CONFRIM = "CLOSEROOM_ZJH_CONFRIM";
	public static string LEAVEROOM_ZJH_RESULT = "LEAVEROOM_ZJH_RESULT";
	public static string UPDATE_ZJH_CEDIT = "UPDATE_ZJH_CEDIT";
	public static string UPDATE_ZJH_SUMUP = "UPDATE_ZJH_SUMUP";
	public static string SHOW_RECROD = "SHOW_RECROD";
	public static string ERROR_MSG = "ERROR_MSG";
	public static string RECOVERY_ZJH_BOARD = "RECOVERY_ZJH_BOARD";
	public static string OFFINE_ZJH_PLAYER = "OFFINE_ZJH_PLAYER";
	public static string CLOSE_ZJH_DISBAND = "CLOSE_ZJH_DISBAND";
	public static string ALLOVER_ZJH_VIEW = "ALLOVER_ZJH_VIEW";
	public static string FACE_ZJH_SHOW = "FACE_ZJH_SHOW";
	public static string VOICE_ZJH_SHOW = "VOICE_ZJH_SHOW";
	public static string SHOW_PLAYER_DETAIL = "SHOW_PLAYER_DETAIL";
	public static string SHOW_MAIN_DETAIL = "SHOW_MAIN_DETAIL";
	public static string RE_JOIN_ROOM = "RE_JOIN_ROOM";
	public static string HIDE_SETUP_VIEW = "HIDE_SETUP_VIEW";
	public static string SHOP_DETAIL = "SHOP_DETAIL";




	/// <summary>
	/// 以前遗留的部分
	/// </summary>
	public static string Connectioned = "Connectioned";
	public static string ShowLoginGift = "ShowLoginGift";
	public static string LoginGiftResult = "LoginGiftResult";
	public static string OverLoginGift = "OverLoginGift";
	public static string OpenBundle = "OpenBundle";
	public static string Notice = "Notice";
	public static string ChatMsg = "ChatMsg";
	public static string ZCJBTimePass = "ZCJBTimePass";
	public static string ShowRotate = "ShowRotate";
	public static string clearBet1 = "clearBet1";
	public static string clearBet2 = "clearBet2";
	public static string clearBet3 = "clearBet3";
	public static string clearBet4 = "clearBet4";
	public static string clearBet5 = "clearBet5";
	public static string clearBet6 = "clearBet6";
	public static string clearBet7 = "clearBet7";
	public static string clearBet8 = "clearBet8";
	public static string clearBet9 = "clearBet9";
	public static string clearBet10 = "clearBet10";

	public static string playxiauBG = "playxiauBG";
	public static string playbetsound = "playbetsound";
	public static string beilvqiehuan = "beilvqiehuan";
	public static string chongfujingcai = "chongfujingcai";
	public static string chujiang = "chujiang";
	public static string chujiang2 = "chujiang2";
	public static string timesound = "timesound";
	public static string Settlement = "Settlement";

	public object data = null;
	public string evtName = null;
	public EvtCallBack callBack = null;

	public ServerEvent(string evtName,object data,EvtCallBack callBack){
		this.data = data;
		this.evtName = evtName;
		this.callBack = callBack;
	}
}
}
